package com.lsu.strategy.homework;

/**
 * 固定折扣方式
 *
 * @Author wang suo
 * @Date 2020/11/26 0026 10:39
 * @Version 1.0
 */
public class FixedDiscount implements DiscountWay {
    @Override
    public double discount(Integer num) {
        return num - 1;
    }
}
